<template>
	<div><h1>这是Prod_A子组件</h1></div>
	{{ aNum }}
	<!-- <button @click="favBtn(10)">{{ fav ? '收藏中...' : '收藏' }}</button> -->
	<B></B>
</template>

<script setup>
import B from './Prov_B.vue';
const aNum = inject('changeNum');
console.log('a组件', aNum);
</script>

<style></style>
